package com.funmi.lizip.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author zzy
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("device_data_avg")
public class DeviceDataAvg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备Id
     */
    private Integer deviceId;

    /**
     * 设备数据
     */
    private String deviceData;

    /**
     * 时间
     */
    private LocalDateTime hourAt;

    /**
     * 更新时间
     */
    private LocalDateTime updateAt;

    /**
     * 创建时间
     */
    private LocalDateTime createAt;

    /**
     * 是否删除
     */
    @TableField("is_delete")
    private Boolean delete;


}
